Longest run of equal parts in a random integer composition
نویسنده
چکیده
has L = 5. A composition with L = 1 is known as a Carlitz composition. The characteristics of Carlitz compositions and their generating function C〈1〉(z) (see Proposition 1) are studied in great detail in [4, 5]. The solution to the longest run problem can be broken down into four main sections. In the first section, we find a family of generating functions for integer compositions that keeps track of the longest run of equal parts. In the second section, we analyze the generating functions using singularity analysis to find an asymptotic estimate of the number of compositions of size n with no run of length k. In the third, we use that estimate to describe the probability distribution of the random variable L, and in the fourth, we calculate the mean and variance of the distribution. The analysis here has some similarities to the analytic treatment of compositions in [1, 4, 5], and the methods and notation used in this note are detailed in the book Analytic Combinatorics by Flajolet and Sedgewick [3]. This note was motivated by a question of Wilf, posed at the Analysis of Algorithms 09 Conference (Frejus, June 2009); see [6]. The author would like to thank Herbert Wilf for suggesting this problem and Philippe Flajolet for his direction and support throughout this project. ∗This work was done during a summer internship at Algorithms Project, INRIA-Rocquencourt, F78153 Le Chesnay, France, May-July, 2009, under the direction of Philippe Flajolet. Author’s permanent email address is [email protected].
منابع مشابه
The distribution of longest run lengths in integer compositions
We find the generating function for C(n, k, r), the number of compositions of n into k positive parts all of whose runs (contiguous blocks of constant parts) have lengths less than r, using recent generalizations of the method of Guibas and Odlyzko for finding the number of words that avoid a given list of subwords.
متن کاملCombinatorics of geometrically distributed random variables: run statistics
For words of length n, generated by independent geometric random variables, we consider the mean and variance, and thereafter the distribution of the number of runs of equal letters in the words. In addition, we consider the mean length of a run as well as the length of the longest run over all words of length n.
متن کاملOn the Distribution of the Longest Run in Number Partitions
We consider the distribution of the longest run of equal elements in number partitions (equivalently, the distribution of the largest gap between subsequent elements); in a recent paper, Mutafchiev proved that the distribution of this random variable (appropriately rescaled) converges weakly. The corresponding distribution function is closely related to the generating function for number partit...
متن کاملThe Distribution of Run Lengths in Integer Compositions
We find explicitly the generating function for the number of compositions of n that avoid all words on a given list of forbidden subwords, in the case where the forbidden words are pairwise letter-disjoint. From this we get the gf for compositions of n with no k consecutive parts equal, as well as the number with m parts and no consecutive k parts being equal, which generalizes corresponding re...
متن کاملAverage Number of Distinct Part Sizes in a Random Carlitz Composition
A composition of an integer n is called Carlitz if adjacent parts are different. Several characteristics of random Carlitz compositions have been studied recently by Knopfmacher and Prodinger. We will complement their work by establishing asymptotics of the average number of distinct part sizes in a random Carlitz composition.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Discrete Mathematics
دوره 338 شماره
صفحات -
تاریخ انتشار 2015